Analog drive for ultrasonic probe with tunable phase angle

ABSTRACT

The system uses a tunable inductor in series with the piezoelectric crystal excitation transducer in the probe which has a flux modulation coil. The bias current through this flux modulation coil is controlled by the system. It is controlled such that the inductance of the tunable inductor cancels out the capacitive reactance of the load impedance presented by the probe when the probe is being driven by a driving signal which matches the mechanical resonance frequency of the probe. The resulting overall load impedance is substantially purely resistive. The system measures the phase angle and monitors the power level. The system uses this information to adjust the bias current flowing through the flux modulation coil to maintain the substantially purely resistive load impedance for changing power levels. This information is also used to adjust the frequency of the driving signal to track changing mechanical resonance conditions for the probe at different power levels. This method of operation insures substantially maximum power transfer efficiency and substantially linear power control over a range of power dissipation levels. There is also disclosed an analog circuit to measure the phase angle for the load driving signal and to adjust the frequency of the driving signal for best performance. This system includes an integrator to eliminate the effect of offset errors caused by operational amplifiers. There is also disclosed a system to determine the mechanical resonance frequency by sweeping the drive frequency and monitoring the drive current for the frequency at which the drive current is a maximum.

This application is a continuation of application Ser. No. 06/928,761, filed 11/7/86 now abandoned.

BACKGROUND OF THE INVENTION

The invention relates to the field of phacoemulsification probe driving apparatus, and more particularly, to the field of tuned probes for phacoemulsification.

It has long been known that, in delivery of electric power to inductive loads or capacitive loads, maximum efficiency and maximum delivery of said power occurs when the phase angle between the voltage across the load and the current through the load is substantially zero. The phase angle of a system is related to the power factor. Those skilled in the art appreciate that the impedance of any network which includes inductive or capacitive elements in addition to resistive elements is the vector sum of the real component, i.e., the resistive elements, and the imaginary component caused by the presence of the inductive and capacitive elements. If the reactive component is zero, then the impedance of a system is purely resistive, and the resultant vector is coincident with the real axis. In such a circumstance, the phase angle is zero. Power factor is a measure of the relative magnitudes of the reactive and real components in a load impedance. It is related to the relative magnitude of these two vector components.

Power factor is also a measure of the efficiency of a system in delivering power to a load. Since only resistive components can actually dissipate power, the presence of an inductive or capacitive reactance component in a load impedance will decrease the efficiency of power delivery of the system, since it causes increased power dissipation in the source resistance of the power supply. The reason for this is well understood by those skilled in the art and will not be detailed here. As a consequence of the foregoing reality, it has long been known by utility companies and other practitioners of the power delivery art that to maximize the efficiency of power delivery to a load, it is useful to tune out the reactive component of the load impedance by placing it in series or parallel with an equal and opposite sign reactive component in a tuning circuit so that the resultant load impedance is purely resistive. In such a circumstance the source impedance is said to be the matched conjugate of the load impedance, and the power delivered to the load is maximized.

Power delivered to a load is given by the following expression:

    Power=VI cosΘ                                        (1)

where V is the voltage drop across the load impedance, and I is the series current flowing through the load impedance, and cosine theta is the power factor of the circuit. The power factor is said to be "leading" if the current leads the voltage, and "lagging" if the current lags the voltage.

Ultrasonic probes have traditionally been used for phacoemulsification for rupturing of cataracts in the eye coupled with aspiration of the pieces of tissue disrupted by the probe. There have been developed two classes of probes, one of which is excited by piezoelectric crystals. Such piezoelectric probes traditionally have been rods of metal, such as titanium, having piezoelectric crystals affixed therein to act as excitation sources to cause the rods to vibrate. The piezoelectric crystals are driven with electrical alternating current driving signals having high frequencies, such as 40.000 Hz. The length of the probe is such that it is a multiple of one-half the wavelength of the driving signal. Vibration of the piezoelectric crystal under the influence of the driving signal causes the rod to vibrate at its mechanical resonant frequency.

The piezoelectric crystals which are used as excitation sources in such probes, when coupled with the mass of the probe rod, can be modeled as an equivalent electrical circuit having inductive, capacitive, and resistive components. There is a capacitive component representing the elasticity of the metal of the rod and and inductive component representing the mass of the probe. There is also a resistive component representing resistance to motion of the tip of the rod as it hits loads such as tissue or fluids in the eye which tend to dampen the vibration of the tip of the probe. The piezoelectric crystal itself contributes a resistive component which is related to the amount of leakage of current between the terminals of the crystal. The crystal also has a capacitive component which represents the intrinsic electrical characteristics of piezoelectric crystals, i.e., the thickness and the dielectric constant and the area.

As the temperature changes, and as load on the probe changes, the various resistive and reactive components in the equivalent circuit of the probe change values. These changes in the component values change the mechanical resonant frequency of the probe. Unless the driving frequency is changed to correspond with the changed resonant frequencies, maximum power-transfer efficiency will not be achieved.

Further those skilled in the art understand that maximum power transfer between a source and a load occurs when the impedances of the source and the load are matched so that the load appears to be purely resistive. Therefore, in the case of an ultrasonic probe if the probe load impedance at the resonance frequency has a capacitive reactive componente, the source impedance should have an inductive reactive component of equal magnitude to maximize power transfer between the source and the load. Because of the changing magnitudes of the resistive and reactive components of the combined mechanical and electrical system of a phacoemulsification probe, as the power level changes and as the temperature and load conditions of the probe change, it is difficult, if not impossible with a fixed inductor to match the source impedance to the load impedance to cancel out the probe's reactive component over a broad range of power levels and frequency variations. An advantage of such a matched, tuned system is that low voltage components may be used since the impedance seen by the source voltage generator is minimized (looking into a two-port network including the tuning inductor).

Accordingly, there has arisen a need for a phacoemulsification probe driver which can be tuned such that the reactive component of the load is cancelled as conditions such as power level, temperature, and loading change. Further, there has arisen a need for a probe driver circuit which can alter the driving frequency to match the changed mechanical resonant frequency as power level, temperature, and loading conditions change. Further, a need has arisen for a phacoemulsification probe driver with proportional power control such that the user may set a desired power level and that level of power will be transmitted to the probe.

SUMMARY OF THE INVENTION

According to the teachings of the invention there is provided an analog system for tuning the frequency of the driving signal for an ultrasonic probe to maintain the driving frequency at or near the mechanical resonance frequency of the probe. The system uses voltage controlled oscillator to generate a driving frequency for the probe. In the preferred embodiment this driving signal is divided down to a lower frequency and amplified in a programmable linear amplifier to a power level set by the user through a digital word sent to the programmable amplifier. The digital word sets the gain of the amplifier which is coupled to the output of the frequency divider.

The amplified driving signal is then passed through a tunable inductor in the preferred embodiment and then through the ultrasonic probe. The tunable inductor and the programmable amplifier are optional features which greatly enhance the performance and utility of the teachings of the invention. The inductance of the tunable inductor is altered by either a digital or an analog system in response to the phase angle between the current flowing through and the voltage across the tunable inductor/probe load. The inductance is changed by altering the amount of a direct current bias flowing in a flux modulation coil so as to change to slope of the H-B curve or changes the permeability of the material of the inductor core. The amount of change of the inductance and the sign of the change is so as to cause the phase angle error to change toward some user defined value such as zero or some other small, acceptable value.

According to the teachings of the invention, a current phase sample is taken. This is an alternating current waveform in phase with the current waveform for the load current in the probe. A zero crossing detector is used to convert this sinusoidal waveform into an alternating current square wave. A rectifier is then used to chop off all the rectangular pulses of a certain polarity. This leaves the current phase sample signal as a train of pulses all of the same polarity and in phase with the load current peaks.

This pulse train is applied to a phase detector which also has a voltage phase sample input coupled to a sample signal taken from the driving signal voltage waveform, said voltage sample signal being in phase with the voltage waveform across the tunable inductor and the probe resulting from the driving signal. The phase detector then generates an output pulse train of pulse width modulated pulses where the pulse width is proportional to the phase error.

This train of pulse width modulated pulses is integrated and filtered by a low pass/filter integrator to convert it to a D.C. voltage level analog phase angle error signal. This analog phase angle error signal is then integrated again in an integrator/offset circuit to generate a frequency adjust signal. This latter signal is applied to the frequency control input of the voltage control oscillator which responds by changing the frequency of the driving signal as a function of the frequency adjust signal. The direction of this change is such that the phase angle changes as the driving frequency comes closer to the new mechanical resonance frequency of the probe. It was this change in the mechanical resonance frequency of the probe caused by heating of the probe from higher levels of power dissipation and changing loading conditions which caused the phase angle to change in the first place. It is the change in the phase which the circutry responds to and which causes the circuitry to automatically change the frequency of the driving signal to match the new mechanical resonant frequency. This feature of the teachings of the invention may be used independently of the teachings regarding proportional power control and tuning of the tunable inductor but the system works best and has the most utility when all three teachings are used together.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of a system which implements all aspects of the teachings of the invention.

FIG. 2 is the simplified equivalent circuit model used to explain the operation of the probe and tuning inductor system.

FIGS. 3A and 3B are two expressions of the mathematical relationships needed to explain the functioning of the system.

FIG. 4 is the simplified equivalent circuit of the probe at the mechanical resonant frequency.

FIG. 5 is a flow diagram of the main loop of the control program that controls operations of the system of the invention.

FIGS. 6A-6C are a flow diagram of the interrupt service routines of the control program of the system of the invention.

FIG. 7 is a flow chart representing further detail on the portion of the interrupt service routine that alters the VCO frequency to track changes in the mechanical resonant frequency of the probe.

FIG. 8 is another embodiment of the VCO frequency tuning process according to the teaching of the invention.

FIGS. 9 and 10 are alternative ways of performing step 230 in FIG. 8.

FIG. 11 is a flow chart for a process for tuning the inductance of the tuning inductor L_(T) to cancel the reactance component of the load.

FIGS. 12, 13, and 14 are different ways of performing step 240 in FIG. 11.

FIGS. 15 16, and 17 are different ways of performing step 250 in FIG. 11.

FIG. 18 is representative of a class of fixed frequency, proportional power embodiments with tuned inductance.

FIG. 19 is representative of a class of fixed power, fixed frequency tuned inductance embodiments.

FIG. 20 is a block diagram of an analog embodiment of a subsystem to tune the VCO frequency to the mechanical resonance frequency using the phase angle as a criteria.

FIGS. 21A and 21B are a more detailed schematic diagram of the system of FIG. 20.

FIG. 22 is a curve showing the shape of the characteristic curve for the impedance of the probe at different frequencies surrounding the mechanical resonance frequency.

FIG. 23 is a curve showing the relationship of the phase angle to frequency for the phase between the voltage across, the probe and the current through the probe for a given set of conditions.

FIG. 24 is a flow chart for a method of using the shape of the characteristic curve for probe impedance to find the mechanical resonance frequency and to tune the tuning inductor for zero phase angle.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT

Referring to FIG. 1, there is shown a block diagram of a system which implements all three aspects of the teachings of the invention. A microprocessor 20 is at the heart of the system. In the preferred embodiment, the microprocessor 20 is part of an off-the-shelf Micro/Sys B8010 CPU card. The microprocessor 20 controls all the functions which the system performs. According to the teachings of the invention, three separate and independent function are performed, all of which can be used independently of the other functions and all of which have utility in phacoemulsification probe driver systems. The best performance, however, results from use of all three aspects of the invention in combination. The purpose and function of the various components of the system will be explained in the course of explaining each function that the system performs so that the cooperation of each individual element with the other elements in order to accomplish the function will be clear.

It is useful in phacoemulsification probe driver systems to have a substantially linear control over the amount of power dissipated in the probe. In FIG. 1, the probe 22 is a metal rod having a conical mechanical amplifier section 24 and a projecting nosepiece 26 in the form of a small diameter tube on the mechanical amplifier 24. Embedded in or otherwise mechanically attached to the metal of the probe 22 are a pair of piezoelectric crystals. 28 and 30. The purpose of the crystals 28 and 30 is to excite the metal of the probe 22 to vibrate at its mechanical resonance frequency as the crystals vibrate in response to electrical driving signals on the lines 32 and 34. Together the piezoelectric crystals 28 and 30 and the mechanical system of the probe 22 can be modeled by the equivalent circuit shown in FIG. 2. These two resistive components R_(p) and R_(s) represent, respectively, the leakage between lines 32 and 34 of the crystals 28 and 30 and the resistance of the mechanical load. e.g., cataract or water or other tissue, touching the tip of the projecting nosepiece 26 to movement of the projecting nosepiece 26. The value of R_(s) changes drastically when the nosepiece 26 comes into contact with liquid such as water or other fluids in the eye versus free vibration in air. Computer simulations of the crystal/mechanical system show that R_(s) can increase drastically with changing conditions.

As power is dissipated in the crystals, the temperature of the probe 22 can increase if sufficient mounts of power are dissipated over time. Normally the probe 22 has a fluid passageway through the nosepiece 26 to which a vacuum is applied such that tissue and eye fluids which the nosepiece comes into contact with may be aspirated through the nosepiece and into a collection cassette. This causes some cooling of the probe, so the temperature rise of the probe depends upon the thermal equilibrium between heat flowing into the probe by virtue of power dissipation in the crystal versus heat being taken out of the probe by virtue of cooler fluids being aspirated through the fluid channel (not shown) in the nosepiece 26.

As can be seen from the equivalent circuit for the crystal/mechanical probe system. :he series network of capacitance and inductance representing the mechanical aspects of the probe will have a mechanical resonant frequency. Generally speaking, when the crystals 28 and 30 are driven with a frequency so as to vibrate at the mechanical resonant frequency, the series capacitance and inductance representing the mechanical aspects of the system will cancel each other out and disappear from the equivalent circuit representing the overall probe load impedance. This leaves an equivalent circuit which is dominated by the capacitance of the piezoelectric crystals as shown by FIG. 4. Thus, the load impedance has a capacitive reactance component. In order to get maximum efficiency of power transfer, this capacitive component of the load impedance must be canceled out by an equal and opposite inductive impedance in series with it. This is accomplished by use of a tuning inductor 36 having an inductance L_(T). The tuning inductance consists of a ferromagnetic core having three legs labeled A, B, and C. Legs A and C have wound thereabout A.C. driving signal coils which are connected in series. The purpose of these coils is to provide an inductance in series with the load impedance of the probe to help cancel the capacitive reactance of the load impedance at the mechanical resonant frequency. To that end, the A.C. driving signal coils, which will hereafter be referred to as coils A and C, establish paths of magnetic flux which pass through the ferromagnetic material of legs A and C, out into the air and then back into the core through the leg B.

The leg B has wound thereabout a D.C. flux modulation coil. When D.C. is passed through this coil, the amount of magnetic flux in the ferromagnetic coil is altered. When the amount of flux in the core is altered, the inductance of the inductor changes. Thus, by controlling the magnitude of current flowing through the coil 44 wrapped around leg B (hereafter referred to as the flux modulation coil) the inductance of the tuning inductor may be changed.

The flux modulation coil 44 is coupled to the output of a voltage-to-current amplifier 38. This amplifier receives a voltage input signal from a D/A converter 40. The purpose of the voltage-to-current amplifier 38 is to convert the voltage on the line 42 from the D/A converter to a corresponding magnitude of D.C. bias current flowing through the flux modulation coil 44.

The D/A converter 40 receives as its input a phase angle adjust digital word on the bus 46 from the microprocessor. This phase angle adjust word is generated by the microprocessor 20 in response to several input data items. One of these data items is the phase angle error word on the bus 48. This phase angle error data represents the phase angle between the phasor representing the driving voltage waveform applied across the crystal load and the phasor representing the current waveform for load current flowing through the crystal. This phase angle error information is developed in part by a phase detector 50. The output of the phase detector is coupled to a summer and integrator 52, which has its output in turn coupled to an A/D converter 54.

To understand how the phase angle error adjust signal is generated on bus 48, the rest of the driving circuitry will be explained as a preliminary matter. The function of the driving circuitry is to drive the crystals 28 and 30 with an A.C. driving waveform which causes the crystals to vibrate at the mechanical resonance frequency of the probe 22. Obviously, the first step in this process is to generate a driving signal having a frequency which is equal to the mechanical resonance frequency of the probe 22. This is done, in the preferred embodiment, by a voltage control oscillator 56. However, in some embodiments, the voltage control oscillator 56 could be a fixed frequency oscillator set at the mechanical resonant frequency for the probe for a temperature at which the probe operates most of the time. Such an embodiment is illustrated in FIGS. 18 and 19, where the FIG. 18 embodiment has proportional power control and the FIG. 19 embodiment has a fixed power level. As will be seen from discussions below, this is not an optimum situation but is acceptable under some circumstances.

The output of the oscillator on line 58 in FIG. 1 is applied to the input of a linear programmable amplifier 60. The purpose of this amplifier is to amplify the signal on the bus 58 by a gain value established by a signal on a bus 62. In the preferred embodiment utilizing proportional power control, the data bits on the bus 62 represent the desired gain as set by the user.

In the preferred embodiment, the user establishes the desired gain level by manipulation of two controls. The first control is the maximum power control 64 on the front panel 66. With the control 64, the user establishes the maximum power level desired. The microprocessor 20 reads this maximum power level through an I/O circuit 68 of conventional design. In the preferred embodiment the I/O circuit 68 is an SB8466 board manufactured by Micro/Sys of Glendale. Calif. Any conventional method and apparatus for performing the I/O transactions between the microprocessor and the front panel 66 will suffice for purposes of the invention.

The other user-operable control with which the desired power level is set is a foot pedal 68. This control allows the user to establish the desired power level as a percentage of the maximum power set by the control 64 by depressing a pedal with his foot. The depression of the foot pedal operates a transducer which may be read by the microprocessor 20 through an RS232 interface circuit 70 of conventional design. In the preferred embodiment the foot pedal is actually attached to a surgical instrument called the MVS-XIV or MVS-XX manufactured by Alcon Surgical. MID Labs. San Leandro. Calif. The MVS-XIV reads the foot pedal position and sends that information to the microprocessor 20 via the RS232 interface connecting the driver system of FIG. 1 to the MVS-XIV. However, this "middleman" architecture is not critical to the invention, and a direct connection between the microprocessor 20 and a foot pedal 68 with conventional interface circuitry may also be used. With the MVS-XIV present, however the aspiration vacuum is generated to support the operation being performed with the probe. This vacuum is coupled by a vacuum line (not shown) to the probe 22.

The microprocessor 20 performs a scaling operation in the main software loop to be described below using data from the foot pedal 68 and from the maximum power control 64. The data from the foot pedal 68 is a number representing the percentage of full-scale deflection of the foot pedal. The data from the maximum power control 64 indicates the desired full power level set by the user for 100% deflection of the foot pedal. The microprocessor 20 simply combines these two numbers to determined the percentage of full-scale power currently desired by the user. This number is then output on the bus 62 to the linear programmable amplifier 60. This amplifier amplifies the driving signal on the line 58 and outputs it at the desired amplitude level on a line 72. In the fixed power embodiments such as is shown in FIG. 19, the digital word on bus 62 will be fixed, or, in some embodiments, will be one of a selected number of possible gain level steps available to the user.

The driving signal on line 72 is generally a sinusoid having an RMS voltage level related to the desired power dissipation. This signal is applied to the input of a power operational amplifier 74 for amplification in a class AB mode. The output of the amplifier 74 is applied to the primary of a voltage step-up transformer 76. A current-sensing resistor 78 is in series with the return line from the primary of the transformer to the operational amplifier 74. The secondary of the transformer 76 is coupled to the line 34 and a line 80. The line 80 is coupled to one end of the coil C on the tuning inductor. The other terminal of coil C is coupled to one terminal of coil A. The other terminal of coil A is coupled via a line 32 to one terminal of the crystals 28 and 30 (which are coupled in series). The line 34 is coupled to the return side of the piezoelectric crystal 30. Thus the current flowing in the secondary of the step-up transformer 76 is the series current flowing through the crystals 28 and 30 of the probe 22. Note that this current also flows through the tuning inductor coils A and C.

Since the voltage waveform on line 72 is in phase with the voltage waveform across the primary of the step up transformer, the phase detector 50 can sample the voltage on the line 72 with the assurance that the waveform on the line 72 is in phase with the voltage across the step up transformer. To determine the relative efficiency of power transfer from the driver to the probe, the phase angle between the voltage across the step up transformer primary and the current through the primary must be determined. The phase detector does this by comparing the phase of the voltage waveform on the line 72 to the phase of the current flowing in the primary of the step-up transformer 76, as determined by the voltage drop across the current-sensing resistor 78. The phase detector 50 is a conventional Motorola integrated circuit or any equivalent which is commercially available.

The magnitude of the phase angle error is indicated by the width of the pulses on lines 84 and 86. The purpose of the integrator 52 is to average out the pulses over time so that the system has a smooth D.C. response to changes in the phase angle. The A/D converter 54 converts the analog phase angle error signal to a digital phase angle error word on bus 48.

The microprocessor 20 perform the linear power control, impedance-matching, and frequency-tuning functions of the invention by running a program stored in local RAM 90. This memory also includes ROM for storage of look-up tables and other information which does not change over the life of the system.

Referring to FIG. 3, equation (A), there is shown the expression which defines the relationships which exist when the piezoelectric crystals are being driven at the resonant frequency of the mechanical system (equation A). Equation B in FIG. 3 defines the value of the tuning inductance when it is in the tuned condition when the crystals are being driven at the resonant frequency of the mechanical system. Equation A represents the expression for the resonant frequency of the mechanical probe system for any particular temperature.

In FIG. 2, the mechanical system is represented by the components in the equivalent circuit, labeled R_(S), C_(S), and L_(S). The value of the component R_(S) represents the mechanical load engaged by the tip of the probe. The component C_(S) represents the elasticity of the metal in the probe. The component L_(S) represents the mass of the probe. The value of the components C_(S) change with changing temperature. The temperature may change either because the ambient temperature changes or because of power dissipated in the probe through excitation of the crystals. The value of the component R_(S) changes greatly with the loading of the probe.

The other components of the crystal/probe system equivalent circuit are C_(P) and R_(P). The component C_(P) represents the parallel electrical capacitance of the crystals 28 and 30 in FIG. 1. The component R_(P) represents the leakage of electrical current between the terminals of the crystals, i.e., the current leakage from line 32 to line 34.

At the mechanical resonance frequency, the reactive component represented by C_(S) (jw C_(S)) is exactly equal to and opposite in sign to the reactive component L_(S) (1/jw L_(S)). Since these two reactive components cancel each other out the equivalent circuit for the crystal/probe system is as shown in FIG. 4. As can be seen from FIG. 4, the equivalent circuit has a substantial capacitive reactance of the crystals 28 and 30. Thus the load impedance has a real component represented by the value of the resistors R_(S) and R_(P) in parallel, and a reactive component of a capacitive nature represented by the capacitance C_(P). According to the teachings of the invention, maximum power efficiency will be achieved by tuning the tuning inductor L_(T) so as to cancel out the reactive component and the load impedance represented by C_(P). When the crystals 28 and 30 are driven at the resonant frequency of the mechanical system for any particular temperature, the necessary value for the tuning inductance is given by equation B in FIG. 3.

As can be seen from equation B, the value for the tuning inductance is highly dependent on the value for the resistive components R_(S) and R_(P) and upon the value of the parallel electrical capacitance of the crystals 28 and 30. This means that the necessary value for the tuning inductance to keep the probe system in proper tune will change with changing temperature, changing loading conditions, and changes in the level of power dissipated in the probe by the driving system. The reason for this is that either changes in ambient temperature or power dissipation in the probe raises the temperature of the probe and therefore affects the elasticity of the material. This changes the value of the component C_(S) in the equivalent circuit of FIG. 2 and therefore changes the mechanical resonant frequency as defined by equation A of FIG. 3. Changing loading conditions also change the mechanical resonant frequency because, in addition to changing the value of R_(S) in FIG. 2 changing load also affects the value of L_(S) because the load becomes an effective part of the mass of the system. This also changes the value of the mechanical resonant frequency defined by equation A by FIG. 3.

The teachings of the invention regarding tuning out the capacitive reactance of the crystal/probe system, when operating at its resonance frequency, may be implemented in at least two ways. One way is a coarse-tuning-only process, and the other way is a coarse-tuning process followed by a fine-tuning process. In the preferred embodiment, the value of L_(T) is adjusted to the level defined by equation B in FIG. 3 using a two-step process. The first step in this process is a coarse-tuning process where the phase angle error word on line 48 is used to generate an address into a look-up table. This look-up table will have stored therein experimentally determined values for the phase angle which result from various power levels. The overall effect of changes in the equivalent circuit component values with changing power levels is to alter the magnitude of the overall load impedance and its phase angle relative to its real component. The reactive component of the load impedance also changes, thereby destroying the reactive component cancelling match with the source impedance. This alteration in the match of the two impedances changes the phase angle. Unless L_(T) is changed in response to these changes, the probe will be out of tune and maximum power transfer efficiency will not be maintained.

The system of the invention uses the phase angle change resulting from the above-noted changes as an index into a look-up table from which data is obtained which defines the necessary magnitude of the tuning inductor for that phase angle condition to keep the system tuned for maximum performance. The look-up table contains experimentally determined data which defines the optimal magnitude for the inductance of the tuning inductor for a given phase angle or power level, or temperature, or some combination of the three. Although in some embodiments the look-up table adjustment alone may be sufficient, in the preferred embodiment, a further adjustment is made to fine tune the inductance of the tuning inductor to bring the phase angle to zero or some other predetermined acceptable level of phase angle error. The second stage in this process of tuning the tuning inductor involves incrementing the D.C. bias level of the flux modulating coil and testing the phase angle. This process is continued until the phase angle reaches the predetermined acceptable angle. The user can set any acceptable level for the phase angle including zero.

Referring to FIG. 5, there is shown a flow chart for the main loop of the software run by microprocessor 20. The purpose of the main loop of the program is: to establish the mode in which the system is to operate; to monitor the functions of the system; to provide audio responses to the user's manipulation of various controls; to handle display data on the front panel; to communicate with any system coupled to the serial port; and to perform any necessary mathematical computations such as foot pedal position scaling.

Main loop processing begins at power-up time in block 100. From there processing proceeds to block 102, where various system flags are initialized. These flags indicate the status of various conditions in the system, such as error conditions and so on, for the various functions of the system.

Processing then proceeds to block 104. In this block, the microprocessor reads the data from a buffer which contains I/O data from the function switches on the front panel. When the function switches are manipulated by the user, interrupts are generated which cause the function switches to be read by the microprocessor. Data obtained in this I/O operation is then stored in a buffer in the RAM 90 in FIG. 1. Block 104 reads this portion of memory to obtain the data and determine which function the user desires.

Processing then flows to block 106. This block represents a test of the data obtained regarding the desired function. If the function data is zero, processing goes to block 108, where the machine idles waiting for something to happen. This idling occurs by continuous looping to a test block 110, where the microprocessor reads the contents of the function mode buffer and determines if there has been a change in the desired function. If there has not been a change, processing flows to block 112, which is a call to the keyboard reading subroutine. This subroutine addresses the function or mode keys on the front panel and reads the data describing their current status. This data is then written into the function mode buffer. Processing then returns to block 108.

Returning to block 106, if the test of the data in the function mode buffer indicates that the desired mode is not equal to zero, processing proceeds to the test of block 114. The purpose of block 114 is to determine whether the function mode data is equal to 4 or greater. Such function modes would be illegal and are filtered out. This filtering is done by block 116 when the answer to the test of block 114 is yes. In block 116 the data in the function mode buffer is cleared to zero, and processing proceeds to the idle block 108.

If the test of block 114 indicates that the function mode is not equal to 4 or a larger number, processing flows to block 118 where the function is executed. Function execution is simply a series of calls to subroutines which will be described when the interrupt service routines are described. Function execution also includes performing the scaling function on the foot pedal data.

After said execution, processing flows to block 120. Processing can also flow into block 120 from block 110 if the answer to the test of block 110 as to whether the function data has changed is yes. The purpose of block 120 is to write the new function mode data with the key number that was obtained by the keyboard routine when the front panel switches were read. Processing then proceeds from block 120 back to block 102 where the loop is begun again. The microprocessor will continue to loop through the processing of FIG. 5 until an interrupt occurs.

Processing during interrupts is detailed in the flow chart of FIGS. 6A-6C and the flow chart of FIG. 7. The interrupts are generated by a multi-channel programmable counter. This counter is programmed to generate the interrupt represented by block 130, 480 times per second. i.e., 480 Hz. When this interrupt occurs, processing proceeds to block 132 where further interrupts are enabled. A prioritized interrupt scheme is used. Each time the 480 Hz interrupt occurs, each of the three other channels of the counter are incremented. These channels are programmed to generate interrupt requests at different counts. Each of these interrupts has its own service routine. Processing then flows to block 134 where the microprocessor registers defining its current status are saved in RAM for later recall after the interrupt service routine is processed. Processing then proceeds to block 136, where a subroutine is called to read the buffer storing any serial data which has arrived via the RS232 interface 70 in FIG. 1. The foot pedal position data comes in through this RS232 interface and will be accessed by the microprocessor 20 and the subroutine represented by block 136.

Processing proceeds from block 136 to block 138, which increments the system clock. From there processing proceeds to block 140, which represents a subroutine to call the light-emitting diode driver hardware and cause the proper light-emitting diode for the current mode to be lit.

Processing then proceeds to block 142 where the 120 Hz interrupt counter channel is decremented. There are three additional interrupt service routines which are performed less frequently than the interrupt service routine started at block 130. One interrupt service routine is performed 120 times per second. The remaining two service routines are performed 60 times per second and 30 times per second, respectively. They start at blocks 160 and 182, respectively. After decrementing the counter in block 142, the 120 Hz counter channel value is tested in block 144. The 120 Hz counter channel is a circular counter which will count down from a value of 120 by 1 every time block 142 is executed. Basically this occurs every fourth time the interrupt generated by block 130 occurs. When step 144 finds the count has reached zero, processing proceeds to block 146. Otherwise processing proceeds to block 150.

The block 146 represents the call to a communications control subroutine. This subroutine serves the same function as a telephone operator does in operating a switchboard to coordinate communications over the serial communications port of the microprocessor 20.

After block 146 is performed, processing flows to block 152 to call the hunter subroutine. The hunter subroutine tests a flag which give the status as to whether the probe is connected to the system, if the probe is not connected to the system, the hunter subroutine performs a sequence to attempt to reestablish the link.

Processing then proceeds to block 154, where a routine to test the link to the phacoemulsification probe is performed, processing then proceeds to block 156, which calls a subroutine call monitor. The routine monitors error conditions and is not critical to the invention.

After the subroutine represented by block 156 is performed, a 60 Hz counter is decremented by block 150. The purpose of this step is to count the number of times the 480 Hz interrupt service routine has been performed, and on every eighth repetition to perform the interrupt service routine starting at block 160. After block 150 is performed, block 158 is performed to test the value of the 60 Hz counter. If this counter value is zero, processing proceeds to block 160, which is a call to the bar graph subroutine. This subroutine addresses the bar graph display on the front panel and updates its status. This display is used to indicate the current power level. If the 60 Hz counter test of block 158 indicates the 60 Hz counter value is zero, processing will proceed along path 161 to a block 163. Block 163 decrements a 30 Hz counter and marks a test for the beginning of the interrupt service routine which is performed 30 times per second.

After block 160 is performed, the subroutine represented by block 162 is called. This subroutine calls the transmitter driver which sends data out the RS232 port to any systems which are connected thereto. Design of the system is modular, such that the system may be used alone or in combination with an MVS-XIV system and other systems in a family of products related to ocular surgery. The transmit driver also determines the rate at which information is sent to any other systems coupled to the RS232 port.

Next, the subroutine represented by block 164 is called. This is a subroutine which handles the A/D and D/A conversion processes needed to change the frequency, read the phase angle error, or tune the tuning inductor. In one function of the subroutine represented by block 164, the phase angle error word on bus 48 is read by the routine of block 164. This data is needed to do the modulating of the magnetic flux in the tuning inductor to keep the phase angle error at a predetermined value.

After the phase angle error word on bus 48 has been read, the system is ready to make any necessary adjustments in the D.C. bias current flowing in the flux modulation coil. This process is performed in a subroutine represented by block 166. The subroutine represented by block 166 actually performs two separate and independent functions in the preferred embodiment. First, it tunes the frequency generated by the voltage-controlled oscillator 56 in FIG. 1 to change the frequency to correspond with the new resonant frequency for the probe, based on the then existing power levels, phase angle, temperature, or other such criteria. The details of how the frequency is adjusted are given in FIG. 7. As will be seen from FIG. 7, this is an iterative process.

To change the frequency of the VCO 56, the microprocessor 20 generates a digital word on bus 168 representing the desired amount of change. This word is then converted to an analog signal by D/A converter 170. This analog signal is output on line 172 to the VCO, where it causes the VCO frequency to be changed slightly from the frequency established by the voltage reference signal on line 174. A precision voltage reference source 176 generates the frequency controlling signal on line 174. The combination of the analog signals on line 172 and line 174 establish the new operating frequency for the VCO 56.

The second thing that the subroutine of block 166 performs is the function of tuning the inductance of the tuning inductor to cancel the capacitive reactance of the probe. The flow chart defining the process by which this is done is shown in FIG. 8 and will be explained in more detail below.

In other embodiments such as those with fixed frequency and/or fixed power such as the embodiments shown in FIGS. 18 and 19, the subroutine of block 166 may only tune the tuning inductor.

After the subroutine of block 166 is performed, the 30 Hz counter channel is decremented by a count in block 163. In block 180 a test is performed to determine if the 30 Hz counter is or is not equal to zero. If the counter output is not equal to zero, a path 181 is transitioned to block 183. The process represented by block 183 is that of restoring to the microprocessor registers the values that they had when the 480 Hz interrupt occurred and the register contents were saved in the process of block 134. Processing may then resume from where it left off on the main loop.

If the test of block 180 indicates that the 30 Hz counter has reached zero, then block 182 is performed. This block represents the first step in the interrupt service routine which is performed 30 times per second. Block 182 is a call to the power control subroutine. This subroutine reads from memory or a buffer the power data which has been prepared for it by the function execution block 118 in FIG. 5 in the main loop, part of the function of the execution block is to scale the data from the foot pedal to the maximum power level established at the front panel by the user. Therefore, if the maximum power dissipation level at the 100% foot pedal displacement position is to be 25 watts, and the foot pedal displacement is 10%. then the function execution block takes the 25 watt maximum power and multiplies it by 10% to derive a desired power level of 2.5 watts. The power routine represented by block 182 then determines whether or not the power level has to be changed from the current power level at which the probe is operating. In the preferred embodiment there are four safety conditions which are checked before a power control word is output on the bus 62. If a change is necessary and the safty conditions are met, then the new power level desired by the user is transmitted as a digital number on the bus 62 as a desired gain for the linear programmable amplifier 60 in FIG. 1.

Next, the subroutine for scanning the keyboard is called, as symbolized by block 184. This routine performs I/O read operations and reads data from the keyboard and writes it into the mode buffer in RAM for use by the main loop. Note that this keyboard scan subroutine is shared by the interrupt service vector and by the main loop. Note that this keyboard scan subroutine is shared by the interrupt service vector and by the main loop. Next, the status subroutine is called, as symbolized by block 186. This subroutine checks various system status flags for conditions then existing in the system such as power, link present, error conditions, etc.

After block 186 is performed, the restore registers process is performed as symbolized by block 183, and the interrupts service routine terminates in block 188. This returns program control status to the main loop until the next interrupt occurs.

It will be apparent to those skilled in the art that not all the subroutines in the interrupt service routine shown in FIGS. 6A-6C are necessary for implementing the teachings of the invention. Specifically, only those subroutines necessary for linear power control, tuning of the tuning inductor, and changing the driving frequency for the probe to match the resonant frequency of the probe for various conditions are necessary and critical to the teachings of the invention. Further, each of these critical functions may be performed independently of the others in accordance with the teachings of the invention, albeit with lower power transfer efficiency and nonproportional power control in some cases. Specifically, the tuning of the tuning inductor to maximize power transfer efficiency may be performed independently of whether or not the power dissipated in the probe is controlled proportionately. Thus, the tuning inductor may be tuned for changing temperature conditions even at a fixed power level. Likewise, the frequency of the driving signal may be adjusted for changing mechanical resonance frequency regardless of whether or not the tuning inductor is tuned to maximize the efficiency of power transfer and regardless of whether or not the power levels of power dissipated in the probe are changed. Further, the power levels for power dissipated in the probe may be changed in proportional fashion regardless of whether or not the driving frequency is altered to compensate for changes in the mechanical resonance frequency. In some embodiments, the power levels may be changed linearly in response to user input regardless of whether or not the tuning inductor is tuned to maintain maximum power transfer efficiency throughout the power range. However, if the tuning inductor is not tuned, the transfer efficiency will change over the power range, and substantial linearity of power control may not be achievable over the full range of desired power dissipation levels.

Referring to FIG. 7, there is shown a flow chart for the frequency adjustment aspect of the teachings of the invention. As noted earlier, this particular subroutine is performed 60 times per second, as symbolized by block 200 and as implemented by one channel of the multichannel counter (this counter may be in hardware or software). The first step is a test represented by block 202, which tests whether the current user-desired gain level is greater than 95%. This test is used in the preferred embodiment such that frequency is adjusted only when gain levels are at levels greater than 95%. In other embodiments, this test may be omitted and the frequency may be adjusted for all gain levels or may be adjusted for changing ambient conditions for a fixed gain level. In the preferred embodiment, if the gain is less than 95%. processing flows to block 204. In block 204, the microprocessor 20 generates a frequency control word on the bus 168 which is converted to an analog signal voltage on line 172 by the D/A converter 170 to set the frequency of the VCO 56 at a known reference frequency. This reference frequency is the experimentally determined average mechanical resonance frequency of the probe at gain levels less than 95%. Processing then proceeds to block 206, where control is returned from the 60 Hz interrupt service routine to whatever processing sequence was interrupted.

If the answer to the test performed in block 202 indicates the gain is greater than 95%, processing proceeds to block 208. There the microprocessor reads the current contents of a variable called GENERATOR stored in the RAM 90. During the initialization process, the value stored in GENERATOR is the same reference frequency value used in block 204. However, during succeeding iterations through the 60 Hz interrupt service routine, the value of GENERATOR is altered in order to change the VCO frequency.

The purpose of this particular service routine for the 60 Hz interrupt is to alter the VCO driving frequency to track changes in the mechanical resonance frequency of the probe, which occur with changing gain levels and changing temperatures. The value stored in GENERATOR will determine the particular driving frequency generated by the VCO 56 in FIG. 1.

After the VCO frequency is set to the frequency dictated by the value of GENERATOR by block 208, processing proceeds to block 210, where the current phase angle error word on bus 48 is read. Next, in block 212, a test is performed on the phase angle error word read in block 210. In block 212, the phase angle error word is compared to a constant phase angle error, which is established by the user as the desired phase angle error when the system is in tune. This acceptable phase angle error will often be zero, but it need not always be so. In systems like that shown in FIG. 1, the phase angle error words on the bus 48 change around the number 102 as a center point representing zero phase angle because of use of a unipolar A/D converter 54. However, the system may be reprogrammed so that the number 102 is some other number representing the different phase angle about which the tuning of the VCO frequency is to be centered. In other embodiments, where a different type of A/D converter is used, the value used in testing the phase angle error word in block 212 may be different.

With the system of FIG. 1 if the phase angle error word on bus 48 is greater than 102, the value of GENERATOR will be decreased to change the phase angle toward zero. This process is done in block 214. Block 214 represents the process of accessing GENERATOR from RAM and subtracting from it a constant value called TWEAK. which is stored in a constants table in the RAM. The magnitude of TWEAK can be altered by the user by reprogramming the system. The value of TWEAK will set the step size by which the frequency changes are made, and therefore will control the response time and resolution of the system in adjusting VCO frequency for changed mechanical resonance frequency.

If the test of block 212 indicates that the phase angle error word is less than 102, then the value of GENERATOR must be increased by the value of TWEAK to increase the phase angle toward the test constant used in block 212. This process if performed in block 216 in the same manner as described for block 214. After the value of GENERATOR has been altered, the new value of GENERATOR must be tested against high and low limits to determine if it has been changed to an illegal, out-of-bounds value. The low limit test is symbolized by block 218, and the high limit test is symbolized by the block 220. If the answer to the test of block 218 is yes, indicating that GENERATOR has been changed to a lower value than the constant low limit, then block 222 is performed. In block 222, GENERATOR is set to the value of the low limit constant. If the answer to the test of block 218 is no, processing skips block 222 to block 224, where return from the 60 Hz interrupt service routine occurs.

A similar process is performed by block 226. Block 226 is performed if the answer to the test performed in block 220 is yes, indicating that GENERATOR has been increased beyond the value of the constant high limit. In block 226, the value of GENERATOR is set to the value of the high limit constant. Then processing proceeds to block 228, where a return from the 60 Hz interrupt service routine is performed. If the answer to the test of block 220 is no, then block 226 is skipped and block 228 is performed.

In alternative embodiments, a look-up table may be used for the frequency adjustment instead of the iterative approach shown in FIG. 7. In such an embodiment, the steps following step 210 in FIG. 7 would be replaced by a single step of using the phase as an index into the look-up table stored in ROM to derive a value to send out on bus 168 in FIG. 1. This value would be experimentally determined for that particular phase angle and would establish the driving frequency at the mechanical resonance frequency that experiments showed resulted in that phase angle. The flow chart for such an embodiment is illustrated in FIG. 8. The step 230 represents the process of looking up the proper VCO frequency for the phase angle read in step 210. This process involves generating an address using the phase angle error word on bus 48 as an index and then accessing the frequency correction data in the look-up table and storing it in a buffer. Step 232 represents the use of the frequency correction data from the look-up table to generate the proper word on the bus 168 in FIG. 1 to cause the voltage-controlled oscillator 156 to assume the frequency of the new probe mechanical resonance frequency. Step 228 represents the return from the interrupt service routine.

In yet another alternative embodiment, the step 230 in FIG. 8 can represent the look-up of the proper VCO frequency from one of several look-up tables. These look-up tables could be differentiated based upon the amount of time for which power has been applied to the probe. That is, each look-up table could contain the experimentally determined values for the probe resonant frequencies after the probe has been operated for a specific time and, possibly, at specific power levels. These different tables would contain the different experimentally determined mechanical resonant frequency values for the probe operating at different temperatures resulting from the measured time at certain power dissipation levels. In yet another alternative embodiment, an actual temperature sensor on the probe could be used. The microprocessor 20 could measure the probe temperature periodically when tuning of the driving frequency was necessary. This temperature could be used as an index to determine which look-up table to use. Once the proper look-up table is determined, either from the time for which the probe has been operating or the temperature of the probe, the phase angle or the temperature or some other variable indicative of the shift in mechanical resonance frequency may be used as an index to access the proper value in the look-up table. These alternative embodiments are illustrated in FIGS. 9 and 10, which represent breakdowns of the steps performed in block 230 for the different embodiments.

With respect to the embodiments shown in FIGS. 8-10 for adjustment of the VCO frequency, it should be noted that this process may occur independently of the process of tuning the tuning inductor 36 in FIG. 1. That is the processes of FIGS. 8-10 may be performed for a fixed tuning inductor which is adjusted to cancel the reactive component of the load impedance at a specific operating temperature or gain level. At different operating temperatures and/or gain levels, the probe may be slightly out of tune by virtue of the inability to change the value of the tuning inductance, but the VCO frequency may be altered to match the changed mechanical resonance frequency for the new conditions, even though a zero phase angle cannot be achieved. That is, according to the teachings of the invention, VCO frequency alteration to track the mechanical resonance frequency drift works whether or not the tuning inductor value is changed. However, it works best when the value of the tuning inductor is changed to tune out the reactive component o(the load impedance. The combination of these two adjustments by the system of FIG. 1 will insure that maximum possible power transfer efficiency is maintained over the entire power operating range of the system.

Likewise, the tuning inductor impedance may be altered to maintain proper cancellation of the reactive component of the load impedance independently of whether or not the VCO frequency is changed to track the drifting mechanical resonance frequency. The manner in which this may be done is illustrated in FIG. 11 in one embodiment.

Referring to FIG. 11, there is shown the interrupt service routine for a 60 times per second interrupt to tune the value of the tuning inductor L_(T). The function of the interrupt service routine of FIG. 11 is to tune out the reactive component of the load impedance represented by the probe. The first step in this service routine is represented by block 240. The process represented by this block is that of reading the proper criteria upon which the tuning of the tuning inductor will be based. In some embodiments, the criteria will be both the phase angle error and the power level. In such embodiments, block 240 represents the steps shown in FIG. 12. Step 242 in FIG. 12 represents the process of reading the phase angle error on the bus 48 and storing it in a memory location, and step 244 represents the process of reading the memory location which contains the current scaled power level obtained by scaling the deflection of the foot pedal 68 relative to the relative maximum power control setting 64 in FIG. 1. In other embodiments where only phase angle is used as the index, step 240 may represent only the process of getting the phase angle as shown in FIG. 13. In still other embodiments, step 240 may represent the step of obtaining the current power level, as shown in FIG. 14.

In both FIGS. 12 and 14, the step of getting the current power level may be omitted, and a step may be substituted of obtaining the current probe temperature via temperature sensor 92 and signal line 94 in FIG. 1.

Referring again to FIG. 11, after the criteria for tuning of the inductor L_(T) has been obtained in step 240, a step 250 is performed. This step represents the process of using the criteria obtained in step 240 to look up the proper D.C. bias level for the flux modulation coil 44 in FIG. 1 to cause the tuning inductor to assume the proper inductance to cancel out the reactive component of the load impedance presented by the probe. Step 250 may represent the process of accessing a single look-up table wherein are stored experimentally determined D.C. bias current levels indexed by the criteria determined in step 240. In the preferred embodiment however, multiple look-up tables are used wherein the experimentally determined values in each look-up table are determined for a particular set of conditions. Typically, there will be one look-up table for a certain range of elapsed times during which the probe has been operated and another look-up table for another range of elapsed times during which the probe has been operated. In some embodiments the look-up tables may be further divided in terms of the amount of time the probe has been operated at specific power levels i.e., the total wattage which has been dissipated in the probe may be determined, and that wattage may be used as an index to the proper table based on the assumption that, after a given number of watts has been dissipated in the probe, the probe will have achieved a predetermined temperature. In such embodiments, the look-up tables may be indexed by the range of watts dissipated in the probe for which the entries in the table are valid. Such an embodiment is illustrated in FIG. 15.

In FIG. 15, the first step is symbolized by block 252 Where the elapsed time during which power has been dissipated in the probe is obtained. A step 242 represents the step of calculating the total power dissipation in the probe since its use began This process may be an integration using the summation of the instantaneous average power level during each of a plurality of time slots multiplied by the increment of time for each time slot This gives the total power dissipation as of the time step 250 is performed. Once the total power dissipation is determined, it is used in step 256 to point to the proper look-up table having bias current levels which are valid for that total amount of power dissipation.

Once the proper look-up table is selected in step 256, the criteria read in step 240 in FIG. 11 is used as an index to access the proper entry in the selected table. This entry will be the correct bias current for the flux modulation coil 44 to cause the tuning inductor to have the proper value to cancel out the reactive component of the probe load impedance for the particular total power dissipation up to that point.

An alternative and simpler embodiment is shown in FIG. 16. In this simple embodiment, the probe temperature is measured using the temperature sensor 92 shown in FIG. 1, and that temperature is used to select the proper look-up table. Each look-up table will cover a different range of temperatures for which its bias current entries are valid. Once the proper look-up table is selected, the criteria determined in step 240 is used to access the proper entry in that look-up table.

A still simpler embodiment uses only the elapsed time to select the proper look-up table. After the proper look-up table is selected the criteria determined in step 240 is used to access the proper entry therein. This embodiment is illustrated in FIG. 17.

Returning again to FIG. 11, once the proper bias current entry has been selected from the proper look-up table, the flux modulation coil bias current is adjusted in step 260. This step represents the process of generating the proper digital word for transmission on bus 46 to D/A converter 40. The D/A converter 40 converts this number to an analog signal on line 42 which controls the amount of bias current flowing through the flux modulation coil 44.

Next a step 262 reads the phase angle error on the bus 48. This phase angle is then tested in a process symbolized by the block 264 to determined whether it is within an acceptable range defined by the user at the time of programming the system. In some embodiments, the acceptable range for phase angle error may be defined in real time by the user through the front panel.

If the phase angle is within the acceptable range, the service routine is exited in step 266, and processing resumes where it left off at the time the interrupt of FIG. 11 occurred. If the phase is not within the acceptable range, a step 268 is performed to adjust the phase in the proper direction by an incremental amount in similar fashion as shown in FIG. 7 for altering the GENERATOR constant by the constant TWEAK. That is, the phase angle error will be compared to the acceptable range and the direction of correction will be determined. The current word on the phase angle adjust signal bus 46 would then be added to a phase angle adjust constant, or the phase angle constant will be subtracted from the word on the phase angle adjust bus 46 depending on the desired direction of correction of the phase angle error. Thereafter, the interrupt service routine of FIG. 11 will be exited in step 270. In some embodiments the adjust phase block 268 may cause looping back to step 262 to continue to loop through steps 262, 264, and 268 until exit step 266 is reached. These embodiments are symbolized by the dotted lines 272 and 274 in FIG. 11.

In other embodiments the fine tuning of the phase angle represented by steps 262, 264, 268 and 266/270 may be omitted. In these embodiments, the phase angle adjust interrupt service routine is comprised solely of steps 240, 250, and 260, plus an exit step to return control to the point in processing where the interrupt occurred.

Finally, it should be noted that the proportional power control aspects of the teachings of the invention may be performed without either adjusting the phase angle through changing the inductance of the tuning inductor 36 and without changing the driving frequency generated by VCO 56. However, changing the power level to the probe without using at least the tuning inductor 36 to cancel out the changing reactance component of the load will not work very well, since at higher power levels, the probe temperature will begin to rise, and the system will become so far out of tune that it will be impossible to transfer enough power into the probe to maintain a linear or proportional relationship to the displacement of the foot pedal 68. However, over small ranges of power dissipation levels, the system will work adequately with proportional power control without either tuning the tuning inductor or changing the VCO frequency.

That concludes the description of the digital embodiment of the teachings of the invention. There follows a description of an analog version of the teachings of the invention.

Referring to FIG. 20 there is shown a block diagram of an analog system for tuning the frequency of the driving signal for the probe. A sample of the current waveform through the probe enters the system on a line 300 where it is processed by a zero crossing detector 302. The zero crossing detector converts the current waveform to a square wave, alternating current waveform on a line 304. A rectifier 306 chops off one half of the square wave to convert the signal on line 304 to a pulse train of all positive or all negative pulses on line 308. A ground fault detector 310 monitors the signal on the line 308, and when no pulses occur on the line 308, a data bit D1 is latched to flag the failure of feedback from the probe. The computer (not shown) periodically addresses the ground fault detector via address signals on bus 312, decoder 314 and enable line 316 and reads the ground fault flag bit (D1). If it is set, the computer cuts off power to the probe by addressing a bus latch 318 via enable line 320 and address signals on bus 314 and by sending the proper data word to cause a programmable linear power amplifier 322 to cut off all driving signal power to the probe on line 324.

The signal on the line 308 comprises the load current sample needed by a phase detector 326 to determine the phase angle error or power factor caused by the current probe load impedance for existing conditions. The other signal needed for this determination is a sample of the phase of the voltage waveform for the voltage waveform used to drive the probe. This signal arrives on a line 328 which is coupled to the input of the programmable linear amplifier 322. The phase detector 326 compares the phase of the current waveform on line 308 to the phase of the voltage waveform on line 328 and generates a phase angle error signal on line 330. This phase angle error signal is in the form of a pulse width modulated pulse train where the pulse width is indicative of the phase angle error.

The phase angle error signal is passed through a low pass filter 332 to convert it to a direct current signal having a voltage which is indicative of the phase angle error on a line 334. This signal is applied through a gain stage 336 to an integrator 338. The purpose of the integrator 338 is to make the operation of the circuit not subject to offset errors intrinsic to operations with the operational amplifiers used to implement many of the stages shown in FIG. 20. Even the best operational amplifiers have some offset output voltage for a zero volt differential input. This offset error would exist on the line 340, and if it were not eliminated, would be applied to the voltage adjust input of the voltage controlled oscillator used to generate the driving signal. This offset error would cause the driving frequency to always be slightly off from the desired driving frequency to match the mechanical resonance frequency. The integrator 338 acts as an infinite gain operational amplifier. When there is any voltage other than 0 volts on the line 340, the integrator 338 continually integrates (sums) it. This causes the output voltage of the integrator on the line 342 to continue to rise until the output voltage reaches the maximum voltage of one of the supply voltages to the integrator. This output voltage on line 342 is applied to the frequency control input of the voltage controlled oscillator 344 and causes the frequency generated by the voltage controlled oscillator to shift to the frequency corresponding to the voltage on the line 342. This driving signal is output on the line 346 to a frequency divider 348. There it is divided down in frequency to the proper driving frequency for the probe. The linear power amplifier 322 then amplifies the signal on line 350 by the gain set by the computer via the data bus 352 and bus latch 318 and the amplified driving signal is output to the voltage step up transformer (not shown) via line 324.

Because the feedback is negative, the shift in frequency caused by the signal on the line 342 is such as to reduce the phase angle error signal on line 334. Thus if any offset error signal exists on line 340, the integration of the error and the negative feedback of the system will force the error signal on the line 340 to zero. Whenever the mechanical resonance frequency shifts because of changing conditions, the phase error signal which results therefrom will cause the integrator to force the VCO frequency to shift until the voltage on the line 340 is once again zero.

The phase angle error around which the system operates need not be zero. The user may adjust it to be some other value by use of the offset adjust circuit 360. This circuit forces the integrator 338 to tolerate a certain phase error.

Referring now to FIGS. 21A and 21B there is shown a more detailed schematic diagram for the analog embodiment of the teachings of the invention with respect to changing the VCO frequency in response to phase angle changes. The load current phase sample enters on line 300 on the upper right corner of FIG. 21A as the CURRENT PHASE signal. This signal is processed by a waveshaper in the form of operational amplifier 400. The output of the waveshaper 400 on line 402 is an alternating current signal having the frequency and phase of the current waveform through the load.

To get this signal in a condition to be read by a phase detector the signal must be converted to a square wave, direct current signal, i.e., it must be rectified and further waveshaped. To this end, the alternating current signal on line 402 is coupled to the negative input of an operational amplifier 404 which has its positive input coupled to analog ground and which acts as a zero crossing detector. The output on line 406 is a square wave, alternating current signal. A voltage divider comprised of resistors 408 and 410 change the maximum amplitude of the signal on line 406 to a level suitable for base drive of a transistor/diode rectifier circuit 306.

The rectifier circuit 306 converts the alternating current square wave on line 406 to a train of positive going pulses on the output line 308. This is done through use of the shunt diode 414 having its cathode coupled to the base of a transistor 416. The diode shunts all negative going pulses to analog ground, so that only the positive going pulses turn on the transistor 416 and drive line 308 to logic zero.

The computer (not shown) must know that the probe is present and is receiving the drive current to keep the driving signal power on. If the probe is not present, or the link to same is broken, the computer must shut off power to the probe as a safety feature since the voltage step up transformer steps up the driving voltage across the crystal to approximately 1000 volts. The computer must constantly monitor line 308 to determine if current phase samples are arriving. If they are, then the computer assumes that the probe is present and that the link to the probe is working. A retriggerable one shot 420 and a latch 422 are used for this purpose as the ground fault detector 310. The signal on line 308 constantly retriggers the retriggerable one shot 420 to keep its output on line 424 in a predetermined logic state constantly. When the pulses on line 308 stop, the retriggerable one shot emits a pulse on line 424 which is latched into the latch 422. This latch is periodically addressed by the computer by activating the read signal and writing the proper address to a decoder 314 to activate the 79H signal to the NOR gate 430. The computer then reads the contents of the latch 422, and, if the bit pattern is in a predetermined state, the computer knows that there has been a ground fault, and cuts off power to the probe.

To determine the correct frequency to use to drive the probe, the phase angle between the current waveform for current flowing through the crystals in the probe and the voltage waveform of the driving signal across the crystal and tuning inductor is used. This phase angle is circumstantial evidence that the impedance of the crystal/probe equivalent circuit has shifted away from the tuned condition where the combined tuning inductance and crystal/probe impedance appears to be purely resistive. When this happens, the mechanical resonance changes because the temperature changes have affected the elasticity of the probe metal thereby changing the equivalent circuit capacitance representing elasticity and changing load conditions have changed the effective mass of the probe. This alters the inductance in the equivalent circuit representing the mass of the system. The result is that the mechanical resonance frequency changes, so the driving frequency must be changed to keep the probe in tune. Further, the value of the tuning inductance should also be altered to keep the overall load impedance substantially purely resitive. The analog circuitry to alter the tunable inductance works the same as the circuit of FIG. 20, and will not be further detailed here.

To determine the phase angle, the signals on the line 308 are coupled to one sample input of a phase detector 326. This signal must be compared in phase to a sample of the voltage waveform across the tuning inductor and the crystal transducer of the probe. The voltage sample comes in on line 434 from the output of a counter/frequency divider 436 coupled so as to divide the output of the voltage controlled oscillator 344 down to the proper driving frequency for the probe (approximately 40 kilohertz).

The phase detector 326 generates a pulse width modulated phase angle error signal and outputs it on line 330. The pulse widths of the pulses in the signal on line 330 are proportional to the phase angle error. This signal is passed through a low pass filter 332 consisting of a passive network of resistors which shunt capacitors to ground and then through a gain stage consisting an operational amplifier 450 coupled as a low pass filter/integrator. The purpose of this low pass filter and integrator combination is to filter out high frequency noise components, and to convert the pulse width modulated phase error signal to a direct current voltage phase angle error signal on line 340.

After conversion of the phase angle error signal to a D.C. phase angle error voltage, the signal on line 340 is amplified in a gain stage 336. Thereafter, the D.C. phase angle error signal is applied to the input of the integrator 338. The purpose of the integrator is to eliminate the errors introduced by offset errors in the operational amplifiers preceding the integrator stage. As noted earlier because of the high gain of the integrator and the negative nature of the feedback, the integrator will force the frequency of the driving signal to change until the D.C. phase angle error signal on line 340 is zero volts.

The integrator 338 is comprised of an operational amplifier 460 coupled with capacitive feedback so as to act as an integrator. An offset adjust circuit 360 comprised of a voltage divider with a potentiometer as the second resistor is used to adjust the voltage on the line 340 so that any phase angle desired by the user may be used as the home point around which the integrator 338 forces servo action. That is, the offset adjust circuit 360 may be used to set some phase angle such as 5 degrees as the center point. Then when a phase angle of 8 degrees is found, the integrator forces a frequency change until the phase angle moves back toward 5 degrees. Likewise, if a phase angle of 2 degrees is found, the integrator forces the frequency to change until the phase angle once again is 5 degrees. However, the voltage on the line 340 will always be maintained at a virtual ground level by virtue of the negative feedback whereby positive changes in the D.C. level of the phase error signal are applied to the negative input of the operational amplifier 460 which causes a change in the VCO frequency to reverse the direction of the change in the D.C. phase angle error signal. Any offset voltage on the line 340 will be continually integrator until the integrator output on line 342 reaches the power supply or "rail " voltage at which the integrator operates unless the phase angle change resulting from the changing voltage on the the line 342 acts to remove the voltage on line 340. The voltage on the line 342 then stabilizes at that voltage necessary to cause the phase angle error signal on line 340 to be zero.

The output of the integrator on line 342 is coupled through a level shifting stage comprising operational amplifier 462 which changes the level of the signal voltage to a level suitable for application to the voltage control input of the voltage controlled oscillator 344. The oscillator generates a driving signal having a frequency which is a function of the FREQUENCY ADJUST signal on line 342. The voltage controlled oscillator 344 has a characteristic curve of frequency versus voltage which has a less sensitive portion and a more sensitive portion. In the less sensitive portion, it takes more change of voltage on the line 342 to cause a one hertz change of the output driving signal frequency than in the more sensitive portion. The level of the signal on the line 342 is set to be in the low sensitivity portion of the characteristic curve of the VCO.

The output signal from the VCO is coupled via line 346 to the divider/counter 348. This counter divides the frequency on line 346 by a factor of 32, and outputs the lower frequency driving signal on line 350. This line is coupled to the input of the programmable linear amplifier 322.

The purpose of the programmable linear amplifier is to amplify the driving signal on the line 350 by a gain factor set by the computer (not shown) via the data bus 352. The programmable amplifier is comprised of several programmable switches 380, 382 and 384 which are coupled to the data bus via a bus latch 318. When the computer wishes to control the gain level, it activates the write signal WR and writes the address of the programmable amplifier on the address bus 312 and writes the desired gain control number on the data bus 352. This causes the decoder 314 to activate the enable signal on the line 390 thereby clocking in the gain control data on the data bus 352 via the NOR gate 392 and line 394 coupling the NOR gate output to the clock input of the bus latch 318.

The gain control number causes the programmable switches to control the resistor ladder networks 400, 402 and 404 in such a way as to set the desired gain level on line 406 at the input to the final gain stage 408. The final gain stage amplifies the signal by a fixed gain and buffers it from the output line 324 so that the resistor ladder network cannot be loaded down by external impedances coupled to the line 324.

For purposes of debugging, an analog to digital converter 410 is coupled by a line 412 to the output of the VCO through a pair of isolation and level shifting stages to sample the output amplitude level of the VCO. The A/D converter can be addressed by the computer to read the digital equivalent of the VCO output signal amplitude via the data bus 352 whenever the computer needs to know this value. This aspect of the circuit is not critical to the invention.

The analog method of tuning the VCO frequency may be used independently of proportional power control or of tuning of the tuning inductor impedance. Likewise it may be used with the digital methods of performing the latter two functions as disclosed above. In yet another embodiment, the tuning of the tunable inductor may be done in analog fashion using a circuit using the same teachings of the circuit of FIG. 20.

For all embodiments where the frequency of the driving signal is to be tuned to the mechanical resonance frequency of the probe, there is an alternative way to determine the mechanical resonance frequency. In the embodiments discussed so far, the mechanical resonance frequency is inferred from the phase angle. That is, when conditions such as power level change resulting in temperature change or the load condition changes, the mechanical resonance frequency shifts and the phase angle is altered. Instead of measuring the mechanical resonance frequency itself, the resonance frequency is inferred from the resulting phase angle. This was done with either a lookup table as described with reference to FIG. 8 or by trial and error method as shown in FIG. 7.

Another way to determine the mechanical resonance frequency is to measure it directly using Ohm's law and the shape of the curve defining the load impedance represented by the probe, FIG. 22 shows the characteristic impedance of the probe without the tuning inductor over a range of frequencies surrounding the mechanical resonant frequency. The mechanical resonance frequency is always the frequency where the minimum impedance point 500 occurs from the equivalent circuit for the probe shown in FIG. 2. Since the impedance is higher at frequencies on either side of the mechanical resonance frequency this fact can be used to determine the value of the mechanical resonance frequency under a given set of conditions. This can be done by measuring the current flowing through the probe at a number of different frequencies and finding the frequency where the current flow is a maximum. Once the mechanical resonance frequency is determined the tuning inductor is tuned to reduce the phase angle to zero FIG. 23 shows the relationship of phase angle to frequency for the phase between the voltage across the crystals and the current flowing through them under a given set of conditions.

A method for tuning the probe for maximum efficiency of power transfer using the shape of the characteristic impedance of the probe as a pointer to the correct mechanical resonance frequency is shown in the flow chart of FIG. 24. The general idea is to sweep the VCO frequency through a number of frequencies on either side of the expected mechanical resonance frequency and read the current flowing through the probe at each frequency. The frequency at which the maximum amount of current flows is the mechanical resonance frequency. Once this frequency is determined, the VCO is set to this frequency and the tuning inductor is biased to tune the phase angle to zero.

The first step in this process is to zero the bias of the tuning inductor 36 in FIG. 1 as symbolized by block 502. This entails having the microprocessor (or other analog circuitry controlling the bias of the tuning inductor) send a bias word on bus 46 to D/A converter 40 to reduce the bias current through the flux modulation coil 44 to zero. Next, an initial VCO frequency is set at some frequency less than the frequency of the impedance minimum 500 in FIG. 22. For the sake of example assume this initial frequency is F1 in FIG. 22 which corresponds to a probe impedance of Z1. This step is symbolized by block 504 in FIG. 24, and is done by sending the proper frequency control word corresponding to frequency Fl on bus 168 in FIG. 1 to the D/A converter 170.

Block 506 represents the steps of measuring the load current drawn by the probe at frequency Fl and storing the value of the load current along with its frequency Fl in RAM 90 in FIG. 1. This done using the operational amplifier 508 in FIG. 1 along with rectifier 508 and A/D converter 510. The operational amplifier has one input coupled to line 82 which carries a signal voltage proportional to the magnitude of load current flowing through the crystals 28 and 30. The amplifier amplifies this A.C. signal and outputs it on line 509. The rectifier 508 converts the amplified load current signal on line 509 to a D.C. voltage level proportional to the load current on line 511. This signal is converted to a digital word by the A/D converter 510, and makes the digital word representing the magnitude of the load current available on bus 512 for the microprocessor to read. The microprocessor 20 then reads the word on the bus 512 and stores it in RAM 90 along with the frequency which corresponds to this particular load current in memory.

The next step, as symbolized by step 514, is to increment the VCO frequency to a slightly higher frequency F2 corresponding to a load impedance Z2 and to read the resulting load current. The system then compares the load current read in step 514 to the load current stored in step 506 to determine if the new load current is less than the previous load current. This is done in step 516. Because it is known that as soon as the frequency is incremented to a frequency above the mechanical resonance frequency the load impedance will begin to rise having reached its minimum at the mechanical resonance frequency it follows that as soon as the load current begins to fall the mechanical resonance will have been passed. The system then knows that the mechanical resonance frequency for existing conditions lies between the current frequency and the last used frequency. If the new load current is not less than the previous load current, processing returns to step 514 to increment the frequency and to take another reading of the load current as symbolized by path 518. Then the test of step 516 is performed again.

If the new load current is less than the old load current, then the mechanical resonance frequency has been determined and path 520 is taken to step 522. The next step is to set the VCO frequency at the frequency determined in step 516 to be the mechanical resonance frequency. This may be done by using the most current frequency or by interpolating between the current frequency and the last frequency used. If the step size is small, the current frequency may be used without appreciable error.

The final step is symbolized by step 524. In this step, the tuning inductor 36 is tuned in the manner described herein to zero the phase angle and make the load of the probe appear to be purely resistance. This can be done by a trial and error method by looking at the output of the phase detector, altering the tuning inductor bias and looking again at the output of the phase detector. Alternatively the proper bias level to zero the phase angle for the current conditions of frequency, probe temperature etc. can be looked up in a look up table. The value which emerges from the look up table can then be used to set the bias level for the current through the flux modulation coil of the tuning inductor.

Although the invention has been described in terms of the preferred and alternative embodiments disclosed herein, those skilled in the art will appreciate many modifications which may be made without departing from the true spirit and scope of the invention. All such embodiments are intended to be included within the scope of the claims appended hereto. 

What is claimed is:
 1. A method of driving an ultrasonic probe comprising:generating a driving signal for said probe and applying said driving signal to said probe; sensing the phase angle between a current waveform for drive current flowing through said probe resulting from said driving signal and a voltage waveform across said probe caused by said driving signal; converting the phase angle to a direct current voltage level; integrating said direct current voltage level to generate a frequency adjust signal; using said frequency adjust signal to change the driving signal frequency using a voltage controlled oscillator in such a way as to alter said phase angle error toward a selectable value; and tuning the reactance of a tunable inductor coupled to said probe such that said phase angle is substantially near a predetermined value.
 2. The method of claim 1 further comprising the step of reading a user input regarding the desired home value for said phase angle error toward which all phase angles are altered and for causing said frequency of said driving signal to be changed in the proper direction to tend to cause said phase angle error to change in the direction of said home value.
 3. The method of claim 2 further comprising the steps of reading a user defined input regarding the desired power level and amplifying said driving signal by an amount proportional to said user defined power level input signal.
 4. A method of driving an ultrasonic device having a mechanical resonance frequency comprising:sensing the phase angle between the drive voltage across said ultrasonic device and the load current through said ultrasonic device and, responding to said phase angle by generating a driving signal having a frequency so as to alter said phase angle toward a predetermined value and applying said driving signal to said ultrasonic device so as to drive it at a frequency substantially near said mechanical resonance frequency; and sensing the phase angle between the voltage driving said ultrasonic device and the current flowing through said ultrasonic device after the frequency of said driving signal has been adjusted so as to be at or near said mechanical resonance frequency, and electronically altering the inductance of a variable inductor coupled in such a manner that the load current flowing through said ultrasonic device flows through said variable inductor so as to reduce said phase angle to a predetermined value.
 5. An apparatus for driving an ultrasonic device having an input part and a mechanical resonance frequency, comprising:analog means coupled to said ultrasonic device for driving said ultrasonic device with a driving signal having a frequency substantially near said mechanical resonance frequency of said ultrasonic device by varying said frequency of said driving signal until the phase angle between the driving signal voltage across said ultrasonic device and the load current caused by said driving signal to flow through said ultrasonic device has a predetermined value; and means, including a tunable inductor coupled to said ultrasonic device such that the load current flowing through said ultrasonic device must pass through said tunable inductor, for sensing the phase angle between the driving voltage across said ultrasonic device and the load current flowing through said ultrasonic device when said ultrasonic device is being driven at said mechanical resonance frequency and for electronically and automatically altering the inductance of said tunable inductor so as to make the impedance looking from said input part toward said analog means closer to the complex conjugate of the load impedance presented by said ultrasonic device such that said phase angle is maintained substantially near zero.
 6. An apparatus to automatically tune the driving frequency of an ultrasonic probe comprising:means for sensing the phase angle between the current flowing through the ultrasonic probe caused by a driving signal characterized by a driving voltage having said driving frequency and the driving voltage and for generating a first control signal indicative of said phase angle; analog feedback means coupled to said probe and to said means for sensing, for generating said drive voltage at said driving frequency and for receiving said first control signal and for changing the frequency of the driving voltage until said phase angle changes to a predetermined value, said analog feedback means including integrator means for integrating said first control signal to generate a second control signal, said integrating for eliminating any offset errors or noise from said first control signal, said second control signal being coupled to and used by said analog feedback means for controlling said driving frequency of said driving voltage; programmable amplifier means coupled between said analog feedback means and said probe and having an input for receiving a gain control signal for amplifying said driving signal by an amount set by said gain control; and means including a tunable reactance coupled to said ultrasonic probe, for sensing said phase angle and for adjusting said tunable reactance so as to cause said phase angle to be substantially near zero to optimize power transfer to said ultrasonic probe.
 7. The apparatus of claim 6 further comprising means coupled to said integrator means for allowing the predetermined value of phase angle to be varied and further comprising means for visibly indicating when phase lock has been achieved.
 8. The apparatus of claim 7 wherein the gain level of said programmable amplifier means can be set by a digital word input to said programmable amplifier and wherein said analog feedback means includes a voltage controlled oscillator having a nonlinear relationship defined by a curved function relating a frequency control voltage in the form of said second control signal and the resulting output frequency and wherein the quiescent value of said second control signal is set at an operating point on said curved function where less sensitivity exists between changes in the value of said second control signal and the resulting changes in output frequency.
 9. An apparatus as defined in claim 6 wherein said analog feedback means includes a voltage controlled oscillator means for generating said driving signal for said ultrasonic probe having a frequency defined by said second control signal and for providing a second signal which is in phase with the driving voltage of said driving signal, said voltage controlled oscillator having a frequency adjust control input coupled to receive said second control signal from said integrator means and wherein said means for sensing further comprises:means for receiving a signal in phase with the current flowing through said ultrasonic probe and for converting said signal to a first signal comprised of a train of rectified pulses; and phase detector means coupled to receive said first and second signals for generating a phase error signal indicative of the phase difference between said first and second signals.
 10. The apparatus of claim 9 wherein said phase detector means includes means for generating said phase error signal as a pulse width modulated pulse train.
 11. The apparatus of claim 10 further comprising a lower pass filter for filtering said phase error signal and for converting said phase error signal to a D.C. signal having an amplitude proportional to said phase error.
 12. The apparatus of claim 11 further comprising means coupled to said integrator means for adjusting a phase angle error operating point such that said phase detector means, said voltage controlled oscillator means and said integrator means combine to operate so as to cause the phase angle to change in the direction of said phase angle operating point.
 13. An apparatus for driving an ultrasonic probe having an electrical input impedance comprising:a zero crossing detector for receiving a current phase sample signal indicative of the current flowing through said ultrasonic probe and for outputting a square wave alternating current waveform first signal; rectifier means coupled to receive said first signal and to convert said first signal to a direct current phase sample signal comprised of rectangular pulses all of the same polarity relative to some reference voltage; a frequency divider means for dividing the frequency of a first driving signal to a lower frequency second driving signal for said ultrasonic probe; a phase detector coupled to receive said direct current phase sample signal and said second driving signal, for generating therefrom a phase angle error signal in the form of a pulse width modulated pulse train where the pulse width is proportional to phase angle error; means for receiving said pulse width modulated phase angle error signal and for filtering out high frequency components and for converting the pulse width modulated pulse train to an analog phase angle error signal comprising a D.C. voltage proportional to the phase angle error; means for receiving said analog phase angle error signal and for integrating said phase angle error signal to generate a frequency correction signal having a magnitude and a polarity such that correction of the phase angle error toward a selectable, desired phase angle error is possible and for providing a means for selection of different phase angle error values; a voltage controlled oscillator means coupled to said frequency divider means for receiving said frequency correction signal and for generating said first driving signal for said ultrasonic probe, said driving signal having a frequency which is a function of said frequency correction signal; and means including a tunable inductor coupled to said ultrasonic probe for sensing the phase angle associated with said probe's input impedance and for tuning said tunable inductor to compensate for the reactive element of said input impedance of said ultrasonic probe so that the power factor is substantially near one.
 14. An apparatus as defined in claim 13 further comprising a linear programmable amplifier coupled to receive said second driving signal and for amplifying said second driving signal by a gain amount set through a programming signal to said programmable amplifier. 